<template>
  状态管理
</template>
<script setup lang="ts">
import { onMounted } from 'vue';
import {useRouter} from 'vue-router'
const router = useRouter()
onMounted(()=>{
  console.log('sss');
  
console.log(router.getRoutes);

})
</script>